package com.itheima.mapper;

import com.itheima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface UserMapper {
	@Select("select * from t_user where username = #{username}")
	User getByUsername(String username);


	List<String> getAuthoritirByUserId(Integer userId);
}
